import React from 'react'
import { Route, Switch } from 'react-router-dom'
import TwoParams from './TwoParams'
import Unmount from './Unmount'
import RC from './RC'
function Index() {
  return (
    <div>
      <Switch>
        <Route path="/hooks/useEffect/TwoParams/:id" component={TwoParams} />
        <Route path="/hooks/useEffect/Unmount" component={Unmount} />
        <Route path="/hooks/useEffect/RC" component={RC} />
      </Switch>
    </div>
  )
}
export default Index
